home *** CD-ROM | disk | FTP | other *** search
- package com.extensibility.xml;
-
- import com.extensibility.plugin.api.URIScheme;
- import com.extensibility.plugin.api.URISchemeAdapter;
- import java.io.ByteArrayInputStream;
- import java.io.IOException;
- import java.io.InputStream;
- import java.io.OutputStream;
- import java.io.Reader;
- import java.io.StringReader;
- import java.io.Writer;
-
- class VirginURIScheme extends URISchemeAdapter {
- public static final String SCHEME_NAME = ":xa-virgin";
-
- public VirginURIScheme() {
- }
-
- public void registerSchemes(URIScheme.Manager var1) {
- var1.registerScheme(":xa-virgin", (Class)null, this);
- }
-
- public URIScheme construct(String var1, String var2) {
- return this;
- }
-
- public URIScheme construct(Object var1) {
- return this;
- }
-
- public URIScheme construct(String var1) {
- return this;
- }
-
- public String computeRelative(URIScheme var1) {
- return "";
- }
-
- public URIScheme toParent() {
- return null;
- }
-
- public String getScheme() {
- return ":xa-virgin";
- }
-
- public URIScheme renameTo(String var1) {
- return null;
- }
-
- public String getUIName() {
- return "";
- }
-
- public boolean unlock() {
- return false;
- }
-
- public long getLength() {
- return 0L;
- }
-
- public InputStream createInputStream() throws IOException {
- return new ByteArrayInputStream((new String("")).getBytes());
- }
-
- public Reader createReader() throws IOException {
- return new StringReader("");
- }
-
- public OutputStream createOutputStream() throws IOException {
- throw new IllegalArgumentException();
- }
-
- public Writer createWriter() throws IOException {
- throw new IllegalArgumentException();
- }
-
- public boolean exists() {
- return false;
- }
-
- public boolean hasPersistence() {
- return false;
- }
-
- public boolean isEmpty() {
- return true;
- }
-
- public boolean isReadOnly() {
- return true;
- }
-
- public boolean equals(URIScheme var1) {
- return true;
- }
-
- public int compareTo(URIScheme var1) {
- return 0;
- }
-
- public String getShortName() {
- return "";
- }
-
- public String getFullPath() {
- return "";
- }
- }
-